package com.elric.mall.mapper;

import com.elric.mall.model.ZgBaseInfo;
import com.elric.mall.model.ZgBaseInfoExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
@Mapper
public interface ZgBaseInfoMapper {
    long countByExample(ZgBaseInfoExample example);

    int deleteByExample(ZgBaseInfoExample example);

    int deleteByPrimaryKey(String id);

    int insert(ZgBaseInfo record);

    int insertBatch(List<ZgBaseInfo> records);

    int insertSelective(ZgBaseInfo record);

    List<ZgBaseInfo> selectByExample(ZgBaseInfoExample example);

    ZgBaseInfo selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") ZgBaseInfo record, @Param("example") ZgBaseInfoExample example);

    int updateByExample(@Param("record") ZgBaseInfo record, @Param("example") ZgBaseInfoExample example);

    int updateByPrimaryKeySelective(ZgBaseInfo record);

    int updateByPrimaryKey(ZgBaseInfo record);
}